package pers.amos.edu.pojo;

import com.fasterxml.jackson.annotation.JsonFormat;
import org.springframework.format.annotation.DateTimeFormat;

import javax.persistence.Table;
import java.util.Date;

@Table(name = "examination_questions")
public class ExaminationQuestionsEntity {
    /**
     * 问题Id
     */
    private int id;
    /**
     * 试卷Id
     */
    private int paperId;
    /**
     * 问题内容
     */
    private String question;
    /**
     * 选项1-5内容
     */
    private String option1;
    private String option2;
    private String option3;
    private String option4;
    private String option5;
    /**
     * 选项1-5对应结果类型Id
     */
    private int option1ResultTypeId;
    private int option2ResultTypeId;
    private int option3ResultTypeId;
    private int option4ResultTypeId;
    private int option5ResultTypeId;
    /**
     * 选项1-5对应分值
     */
    private int option1Score;
    private int option2Score;
    private int option3Score;
    private int option4Score;
    private int option5Score;
    /**
     * 创建者
     */
    private String creator;
    /**
     * 创建时间
     */
    @DateTimeFormat(pattern = "yyyy/MM/dd HH:mm:ss")
    @JsonFormat(pattern = "yyyy/MM/dd HH:mm:ss",timezone = "GMT+8")
    private Date gmtCreated;
    /**
     * 最后一位修改者
     */
    private String modifier;
    /**
     * 修改时间
     */
    @DateTimeFormat(pattern = "yyyy/MM/dd HH:mm:ss")
    @JsonFormat(pattern = "yyyy/MM/dd HH:mm:ss",timezone = "GMT+8")
    private Date gmtModified;

    public int getId() {
        return id;
    }

    public void setId(int id) {
        this.id = id;
    }

    public int getPaperId() {
        return paperId;
    }

    public void setPaperId(int paperId) {
        this.paperId = paperId;
    }

    public String getQuestion() {
        return question;
    }

    public void setQuestion(String question) {
        this.question = question;
    }

    public String getOption1() {
        return option1;
    }

    public void setOption1(String option1) {
        this.option1 = option1;
    }

    public String getOption2() {
        return option2;
    }

    public void setOption2(String option2) {
        this.option2 = option2;
    }

    public String getOption3() {
        return option3;
    }

    public void setOption3(String option3) {
        this.option3 = option3;
    }

    public String getOption4() {
        return option4;
    }

    public void setOption4(String option4) {
        this.option4 = option4;
    }

    public String getOption5() {
        return option5;
    }

    public void setOption5(String option5) {
        this.option5 = option5;
    }

    public int getOption1ResultTypeId() {
        return option1ResultTypeId;
    }

    public void setOption1ResultTypeId(int option1ResultTypeId) {
        this.option1ResultTypeId = option1ResultTypeId;
    }

    public int getOption2ResultTypeId() {
        return option2ResultTypeId;
    }

    public void setOption2ResultTypeId(int option2ResultTypeId) {
        this.option2ResultTypeId = option2ResultTypeId;
    }

    public int getOption3ResultTypeId() {
        return option3ResultTypeId;
    }

    public void setOption3ResultTypeId(int option3ResultTypeId) {
        this.option3ResultTypeId = option3ResultTypeId;
    }

    public int getOption4ResultTypeId() {
        return option4ResultTypeId;
    }

    public void setOption4ResultTypeId(int option4ResultTypeId) {
        this.option4ResultTypeId = option4ResultTypeId;
    }

    public int getOption5ResultTypeId() {
        return option5ResultTypeId;
    }

    public void setOption5ResultTypeId(int option5ResultTypeId) {
        this.option5ResultTypeId = option5ResultTypeId;
    }

    public int getOption1Score() {
        return option1Score;
    }

    public void setOption1Score(int option1Score) {
        this.option1Score = option1Score;
    }

    public int getOption2Score() {
        return option2Score;
    }

    public void setOption2Score(int option2Score) {
        this.option2Score = option2Score;
    }

    public int getOption3Score() {
        return option3Score;
    }

    public void setOption3Score(int option3Score) {
        this.option3Score = option3Score;
    }

    public int getOption4Score() {
        return option4Score;
    }

    public void setOption4Score(int option4Score) {
        this.option4Score = option4Score;
    }

    public int getOption5Score() {
        return option5Score;
    }

    public void setOption5Score(int option5Score) {
        this.option5Score = option5Score;
    }

    public String getCreator() {
        return creator;
    }

    public void setCreator(String creator) {
        this.creator = creator;
    }

    public Date getGmtCreated() {
        return gmtCreated;
    }

    public void setGmtCreated(Date gmtCreated) {
        this.gmtCreated = gmtCreated;
    }

    public String getModifier() {
        return modifier;
    }

    public void setModifier(String modifier) {
        this.modifier = modifier;
    }

    public Date getGmtModified() {
        return gmtModified;
    }

    public void setGmtModified(Date gmtModified) {
        this.gmtModified = gmtModified;
    }
}
